package com.ezmobo.core.common;

import java.lang.reflect.Method;

import org.apache.commons.lang.builder.ToStringBuilder;

public class CallBack {
	private Method method;
	private Object obj;

	public CallBack(Object obj, Method method) {
		this.obj = obj;
		this.method = method;
	}

	public Method getMethod() {
		return this.method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
